home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 2.iso / STUTTGART / GRAPHICS / RAYTRACING / POVRAY3 / POV301 / povray3 / povscn / level1 / pov / glass < prev    next >
Text File  |  1995-11-08  |  722b  |  39 lines

  1. // Persistence Of Vision raytracer version 3.0 sample file.
  2. // Image_map example
  3. // File by Drew Wells
  4. // NOTE: Requires "test.gif"
  5.  
  6. #version 3.0
  7. global_settings { assumed_gamma 2.2 }
  8.  
  9. #include "colors.inc"
  10. #include "textures.inc"
  11. #include "glass.inc"
  12.  
  13. #declare Texture0 = /* Planar image map */
  14. texture {
  15.    pigment {
  16.        image_map { gif "test.gif" map_type 0 interpolate 0 }
  17.    }
  18. }
  19.  
  20. camera {
  21.    location  <0, 20, -125>
  22.    direction <0,  0,    2>
  23.    up        <0,  1,    0>
  24.    right   <4/3,  0,    0>
  25.    look_at   <0, 25,    0>
  26. }
  27.  
  28. // Sphere with radius 30 (diameter 60 )
  29.  
  30. sphere { <0, 25, 0>, 20
  31.    texture {T_Glass1}
  32. }
  33.  
  34. plane { z, 150
  35.    texture { Texture0 scale 90 }
  36. }
  37.  
  38. light_source {<100, 140, -130> colour White }
  39.